MailPoet\Models\Newsletter A

Total Complexity 59
Dependencies 8
Dependents 2
Total lines 420
Lines of code 287
Logical lines of code 122
Comment lines 80
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
setStatus()
A
48 9 34
createOrUpdate()
A
49 7 34
save()
S
55 6 20
filterWithOptions()
S
49 3 35
withDeletedSegments()
S
57 3 17
getMeta()
S
71 4 5
getBodyString()
S
65 3 10
filterStatus()
S
60 2 15
findOneWithOptions()
S
66 2 8
asArray()
S
66 2 8
withSegments()
S
67 2 8
withSendingQueue()
S
64 2 10
__callStatic()
S
75 1 4
__get()
S
75 1 4
getByHash()
S
73 1 5
__construct()
S
68 1 7
getQueue()
S
80 1 3
queue()
S
74 1 4
delete()
S
72 1 5
restore()
S
70 1 6
trash()
S
70 1 6
segmentRelations()
S
68 1 8
segments()
S
66 1 9
parent()
S
68 1 8
children()
S
68 1 8
deprecationError()
S
71 1 6